libavdevice-dev software package provides Development files for libavdevice, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libavdevice-dev
libavdevice-dev is installed in your system.
Make ensure the libavdevice-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libavdevice-dev *
You will get with libavdevice-dev package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Library development |
| Package | libavdevice-dev |
| Version | 4:0.8.17-0ubuntu0.12.04.2 [amd |
| Description | Development files for libavdevice |
| Sub Section | libdevel |